﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using famails.dto;

namespace famails.iface
{
    /// <summary>
    /// Summary description for IMailConfig
    /// </summary>
    public interface IMailConfig
    {
        void tblMailConfig_insert(MailConfigDTO dt);
        void tblMailConfig_Update(MailConfigDTO dt);
        void tblMailConfig_Delete(int Id);
        DataTable GetAll();
        DataTable GetByID(int Id);
        DataTable GetByEmailAndPass(string email, string pass, int userid);
        DataTable GetAll(int DepartmentID);
        DataTable GetByUserId(int UserId);
    }
}